package cn.tedu.mapper.order;



import cn.tedu.pojo.dto.order.OrderTableDTO;
import cn.tedu.pojo.entity.OrderTeble;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;



@Repository
public interface OrderMapper {
    //增加订单
    void saveOrder(OrderTeble orderTeble);

    int saveDeleteOrder(Long id);

    int updateOrderById(
            @Param("orderId") String orderId,
                        @Param("orderAddr")String orderAddr,
                        @Param("commodityNumber") Long commodityNumber);




    OrderTableDTO selectOrderById(String orderId);
}
